.class Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3$1;
.super Ljava/lang/Object;
.source "SimpleFileDialog.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3;->onClick(Landroid/view/View;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3;

.field final synthetic val$input:Landroid/widget/EditText;


# direct methods
.method constructor <init>(Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3;Landroid/widget/EditText;)V
    .locals 0

    .line 270
    iput-object p1, p0, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3$1;->this$1:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3;

    iput-object p2, p0, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3$1;->val$input:Landroid/widget/EditText;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 3

    .line 273
    iget-object p1, p0, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3$1;->val$input:Landroid/widget/EditText;

    invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p1

    .line 274
    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    .line 276
    iget-object p2, p0, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3$1;->this$1:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3;

    iget-object p2, p2, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3;->this$0:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3$1;->this$1:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3;

    iget-object v1, v1, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3;->this$0:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;

    invoke-static {v1}, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;->access$000(Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "/"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {p2, v0}, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;->access$900(Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;Ljava/lang/String;)Z

    move-result p2

    if-eqz p2, :cond_0

    .line 279
    iget-object p2, p0, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3$1;->this$1:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3;

    iget-object p2, p2, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3;->this$0:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3$1;->this$1:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3;

    iget-object v2, v2, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3;->this$0:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;

    invoke-static {v2}, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;->access$000(Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p2, p1}, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;->access$002(Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;Ljava/lang/String;)Ljava/lang/String;

    .line 280
    iget-object p1, p0, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3$1;->this$1:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3;

    iget-object p1, p1, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3;->this$0:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;

    invoke-static {p1}, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;->access$200(Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;)V

    goto :goto_0

    .line 283
    :cond_0
    iget-object p2, p0, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3$1;->this$1:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3;

    iget-object p2, p2, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog$3;->this$0:Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;

    invoke-static {p2}, Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;->access$800(Llt/noframe/gpsfarmguide/utils/SimpleFileDialog;)Landroid/content/Context;

    move-result-object p2

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "Failed to create \'"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p1, "\' folder"

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p2, p1}, Llt/noframe/gpsfarmguide/widgets/MegaToast;->showTextShort(Landroid/content/Context;Ljava/lang/String;)Llt/noframe/gpsfarmguide/widgets/MegaToast;

    :goto_0
    return-void
.end method
